Do Math function after getting the fault should be split into "Get Length" and "Get EndPoint" depending on the known variables.