afaik there is no algorithm here.