stride of outputs was not being set correctly to deal with alignment