fix limit for 4 node graphs