Please cache the length calculation.