Sounds a bit long. It is not a problem from resistance point of view, however, long cables can pick up electromagnetic noise, like an aerial.
What you can do though is to fold the cable in Z or Omega shape, making sure the folded parts cover each other precisely - in other words, wires won't get over a neighbouring one, to avoid interference. And no need for very sharp edges, to avoid cracks.
In your case keeping the 125 mm distance beetween the two ends you first make a fold at ~100mm, then at ~75mm from the first one, making the Z. In the middle you will have triple layers, consuming about 225mm of the length, plus ~25-25mm-s at the ends
Once this is done, you may want to tie it together with a piece of adhesive tape.