dll for braid algo