Downsampling of big images using numpy, numba and blaze