OrderStatisticTree now basically implemented.