Ceil the size in batch filter