I hate to have to copy this logic here. Is this necessary, or do the splits you get from the plan already do this? If so, might be able to provide an accessor through the QueryPlan.