Added constraints between cells