Fixed steps off by one error.