Fix a segfault on 32bit platforms
1MB is 1024**2 bytes
Typo