Fix a memory exhaustion bug when attempting to allocate room for an impossible number...