fixing step distance