build_SOM_data