downsampling for hitfinding and optional rescaling of downsampled intensities before casting to int16 (avoid hitting limits)