Change how max position is calculated...