Made graph size itself correctly