Reuse named loop in `offsetsOf`.

See #63.