improved graph gen when width is very narrow