Added generation of multiple shifts for averaging