corrected error in next step calculation
Merge remote-tracking branch 'origin/master'