changed height generation to use THREE's randFloat