Better multiwidth logic