smart scale on nearestINT
picture example