Added both horizontal and vertical sum in the prevision tree