set branching ratio for k lines