In the case of DeepLigBuilder+ , stepwise masking with chemical constraints was applied to control the generated molecules to stay within a specific space of synthesizable and purchasable synthons. In this masking strategy, the action masks were based on what atoms and bonds are not favorable and would result in a molecule with unpurchasable building blocks.