https://github.com/vdumoulin/conv_arithmetic