use a single step size for measurement
vectorize more code, calculate for only one step size