Updated with latest algorithm commit.