job dependency resolver, stack machine