palsquare, number scale transformation