generate set of nodes with accessible areas from the given map,for NaviSys