refactored with map and deque lookup for in order exec (if compiler creates code that static inits like that... ymmv