prerun the first loop for better performance