use <= instead of < when comparing mode sizes. (force_to_mode, case NOT): Use full mask inside the NOT operation. From-SVN: r10814