[OE-4666] algo first draft