main
splitTree
Deep.prototype.splitTree = function (p, i) { assert(p(this.M.plus(i, this.measure()))); const {left, middle, right, M} = this;