added ability to get subshape
added functionality to k-shape