A moment-matching Ferguson and Klass algorithm