use 'valid' shape in conv2