correct shape of stacklayer