rename size to length