Bug 862870 implement slice batching