fixed graph size calculation when ignoring interfaces