haddocks for getLeftmost, getRightmost