- fixed a stride calculation bug