weighted quick union by height