Graph limits

Fixes #787
Made the change anyway.