Fix previous commit to take stride into consideration