adjustet scaling to max min messurement according to wikipedia