An Ergodic Algorithm For Generating Random Knots With A Thickness Constraint