Break the loop for performance improvement