changing time analysis to be minimum time rather than average time