Make run time measurement more accurate