fitting a new RD, The stroke limit screws are adjusted by pushing the pulley to be under the last cog.
By hand.. adjust the screw so It stops directly under that cog
likewise so as to stop directly under the smallest cog,
Then hook up the cable and feed the chain through the pulleys..