Use smaller mapping table. Extract match logic.