rework scaling algorithm so it covers the whole range