verify edges size