Calculate rows by left rather than top offset.