The distance between the rack and the wheel is irrelevant as far as the structural integrity of the rack is concerned. Depending on which rack you are trying to use, you might be able to get some longer struts for a fraction of the cost of new rack.
Then again, what L8Guy is suggesting probably makes more sense for your situation.