Could you please change this back. You changes are wonderful, but do not apply for the bunch example. Here, only a 1D detector field is used.