KNN source structure builded