refine shifting method after no tests passed,