Adjusts method for find_shift