[Olena-patches] r2714: Compute volume of max tree nodes