don't call Len() when it can't change
don't call Len() when it can't change

updateData()'s loops checking gt.Len() turns out to have been costing
significant computation, not least because each call then in turn
called gt.vs.Stride().

Schobers/pixel