dont harcode dims
book-keeping regarding edges