I am pretty sure that the low and medium speeds are dictated by the size of the capacitors in the switch.
See this thread for a discussion of fan speeds: