Refactor: Remove redundant graph limits code