Swapping XT discs brakes (resin hoses) to a new frame. Hoses are too short to fit as is.

My thinking is to cut and reuse the rear hose for the front and order a new hose kit for the rear. Any reason I shouldn’t do this?

Beside a new connecting insert and olive for the hose swap can you think of any other parts I will need?

TIA