That's a different method from what I've seen. I used a bucket method here:
http://www.hawkee.com/snippet/1485/