Reducing calls to chunk:data()