modified run_shifter to be thread safe and fixed the steps when image is shifted See merge request !11