added BoundaryValues class to build blocks