Presenting a novel message embedding algorithm using the optimal weighted modulus. Systematically producing optimal weights within a controllable maximal range. Resolving the problem of pixel illegality and achieving the minimal pixel distortion. The algorithm is superior to 11 current state-of-the-art works. Our algorithm is undetectable from the SPAM and RS steganalyzer.