little tweak, saving some arithmetic operations