refactor 2-3 tree iterator