Equation of state of neutron-rich matter in d-dimensions