More efficient replica map building for NTS