Expletive Deleted How could you need that much code to move motors?
What sort of motors?
Where does accelStepper come into it?
Can't you organize the code so one function that accepts parameters (F B L R for example) will deal with all the moves?
Lines and lines of repetitive code like that are an invitation to silly typing errors.
...R