CD(4) has bounded width