Fixed cell arc consistency
Fixed block calculation
Added domain-based background coloring