Simplify math a little bit.