Using map instead of vector for input dependent/independent branch lists.