crop batch size when < n