Optimization of overhanging-metal microstrip detectors: test and simulation