Added shift_max argument to alignmentimage code