RF attenuator design