Linked to the amca algorithm