We could cache the length of the chunk here.