Faster graph generator