Consensus formation under bounded confidence