BUG Fix non-integer scale values in surf.dense