Calculate crc for montaged image correctly