Continuum model for polymers with finite thickness