fixed bug in convolveWithBeam