extend phi nodes to handle list of operands