fixed bugs with decision engine that would stop certain edge configurations from working