fixed a bugg where number of cells was only based on one edge