various changes for 2 times replicated 2 layered convolution