Improved performance by ~2x by moving from float sizes to int sizes (= 10*float, e.g. 347.5 -> 3475).