* migration algorithms (first version)