Mini map: fix int overflow on any large files