Added "batch cutter" utility function to the shared schema.