How to make entities get removed every x seconds not owned by a tc and make the default decay faster?

I have a server where people build without tc's walls and stuff is there a way to make it where it does like a faster decay? and removes every x seconds not owned by a tc

Because it lags my server.