Combinatorial algorithms Cell-neighbor-search Algorithm Count boundary components Algorithm ConstructGrid Algorithm Guntram Berti