In some cases, the runtime being padded with filler was less about cashing in and more about trying to not catch up to the manga too quickly.
FMA (2003) is a fun example of this not happening, where they basically wound up creating a custom ending to the series because they got ahead of the manga.