add functions to merge particles database for hybrid approach