Add define in commons.h to set allocation strategy for particles