Where does the magic value of 127 come from? Shouldn't it be some constant or has MRI also hardcoded this to 127?