refactor parseHeapTemp to be useful in more places
experimental POINTER_MASKING option