ensure that all zero length sequences get added to both the position and the name cache (by storing them outside map)