Wang tile model.