Do some math in place