How to calculate the number of tiles back to back and why it is better to buy with a margin