Rod length versus piston compression height

Thinking about stroking or de-stroking a 340 but this is a general question. When stroking or de-stroking a motor, is it customary to change only the rod length or both the rod length and the piston compression height? I'm new at this, so may not understand all of the technical aspects of the answer. Thank you.