Block wise contraction added. Full of Bugs. Debug on RI