Hi - a good example of using all 3 alternatives (height, level, and random) based on the availabel information is in this post:
-wim