middle-out implementation

Rating

middle-out implementation

See bottom-up implementation.