Tiling Problem II

Why did we take modulo by 1e9+7 ???

to store it in a 64 bit integer.