Pass stride in pickTriangle function, too.