get the edge size needed before allocation of edge array, remove neighbor cube size calculations