market segmentation and any shape of term structure

The market segmentation theory can be used to explain any shape of the yield curve. But the preferred habitat theory can not explain all of the shapes. is this statement correct? I remember there is one term structure theory that could explain any shape of term structure. is it market segmentation theory? Thanks.

market expectation preferred habitat too the only one that can’t explain by itself is the liquidity premium theory