Some fixes in VG complexit metric