Prevent "stepping" if not worldspawn

Hi

So when a player walks into a brush that’s less than X units high he will be pushed to the top of that brush.

This is useful for walking up stairs and what not, but it causes issues like getting stuck when walking on top of a prop.

Does anyone know how to disable stepping if whatever you’re about to step up on is not worldspawn?

or if not possible, preventing getting stuck.

Thanks.

EDIT:
It’s not step size I keep getting stuck when running into other players, hull sizes have been modified.