fix a bug in how the points are split into multiple shards
fix more bugs in batching