Remove intermediate sections