Improve speed looking for sector and line tags