Revert "king safety: remove linear floor (8187565)"

This reverts commit d2e51f61647b500d0b876aeff53f0e17822c8c28.

does not help in local testing