minor data.length VS size() change