Update boundary.cpp