fix mapsearch to check for fragments at the end of partial cgs