Extended Bernstein prior via reinforced urn processes