Luke Chambers believes competition for places under Mick McCarthy has been the secret to the change of fortunes at Ipswich.