fix bug crash when particle > COMMAND_CAPACITY

and particle benchmark passed with low performance