Understanding the orbital periods of CEMP-s stars