Support getting max position.