Fixed some schelling problems with satisfaction code