Improved min search