Solving inter-procedural constraints in shape-like-dict