avoid possible overflow in delta size filtering computation