Added constant MACHINE_SIZE
Switched to using MACHINE_SIZE instead of hardcoded literal