The cultural impact on social cohesion: an agent-based modeling approach