Add a way to clamp fold level to a max value (i.e. to skip too high fold level)