Fix dynamo batch length