Reduce small block size to 32x32, and parametrize (#defines instead of hardcoding)