SquareBySquare, DiscreteCostanzaMultiLevel are working with proper value weightning, however the values still does not match Costanza Paper values by 0.02 possibly because of the way the squares moves in the SquareBySquare function. Nevertheless, the programs is finally working as it should!