Fix K shape.