there is a problem with your version for multiples of 6.5, 13m rounds down to 12, whereas my formula produces the require 3 x 3m and 2 x 2m