mechanism for changing allocation algorithm without recompiling the whole shabang