calculate D6

adjust() y from max to min