initial version of boundary.h