March algorithm