A variable dimension homotopy for computing spatial equilibria