Optimizing how chunks are updated/generated