Fixed a bug with calculating steps