fit (something) to (someone or something)
To prepare something so that it is appropriate for someone or something else. Don't worry, I'm not going to scare the kids—I really tried to fit my story to their age group.
fit something to something
to make something suit something else. Please try to fit your remarks to the audience. Can you fit the main course to the needs of all the people who are coming to dinner?