add moments-only algorithm