Work in progress implementing a B-tree builder (from a sorted sequence).