create enough table rows to store pasted content