Thanks to the housing crisis and the Great Recession, Americans have been stuck in their homes longer than ever, and across the country many have deferred the kinds of upgrades that they normally make to get properties ready to sell.

That’s good news for home flippers.

In 2016, the median age of a flipped home was 37 years, according to a report out Thursday from Attom Data. That’s the oldest in the nearly two decades that Attom has tracked such data, and about double the median age of homes flipped before the downturn. (Attom defines a flip as any property that’s sold more than once within a 12-month period.)

“As flippers are chasing returns, they’re following them into older neighborhoods with older and smaller homes that provide better deals on the front end,” Attom Vice President Daren Blomquist told MarketWatch.

Attom Data

The median size of flipped homes was, similarly, the smallest on record in 2016, at 1422 square feet, although that doesn’t differ too much from the 16-year trend. The one notable shift from the average size came at the housing market’s bottom, when median sizes spiked.

That’s a reminder of the overreach common in the market at that time, as many owners of recently-built McMansions ran into trouble during that period, Blomquist noted. “That’s when flippers swoop in and find opportunity,” he added.

In 2010, 69% of homes that were flipped were either bank-owned or in foreclosure, compared to just 43.1% in 2016.

But flippers are still finding what they call “value-add opportunities,” Blomquist said. In today’s market, that’s properties that haven’t been spruced up in years.

Also read:Baby ‘boom’ times for the home improvement industry as America ages

Another sign there’s still opportunity in the market: there were 3.1% more flips in 2016 than 2015, and 0.5% more flippers. And returns on investment are still pretty juicy.

Flippers were able to sell their properties for a median of $189,900 in 2016, offering a median gross profit of $62,624, or 49.2%, the highest on record.

That’s one of many reasons Blomquist believes the flipping boom won’t fade away any time soon. “It has legs,” he said.