also compute the final idnum2usage`
partial implementation of the new heuristic to reduce register spill