fill each branch separately