Removed slow calculation of position.