Added stride to downsampling