Added option to slice single layer