improved performance of graphchecker tool