fixed a bug in the boundary generator
added size combiantor