Managing monetary policy in a New Keynesian model with many beliefs types