add square root scaling