Limit the number of entires to the amount that does fit into the chunk.