bug fix of connected constraint
Merge branch 'thesis' of github.com:AdeleResearchGroup/Cube into thesis