range-based representation of memberships. (foutput_membership_0): Use it. (foutput_membership_2): Use it.