[mapper] choose two pass strategy only if needed