Add searchMinRotate