reformat
BUILD-profile optimize: remove getLengths() and return offsets from copy ops