fit graph better to bounds