modified SchellingModel