Solved bug at sub-matrix constructor