Beta3 version: new Floyds algo