fixed bug in IntervalForest for 1-level partitions