more code cleaning
min in circular sorted array