#included <iostream> for std::cerr in segman.cpp