Added dimension of homology group