Reduce number of layers