refined the GetHeight function, can now generate heights same way as before
removed get height code now that it's on the server side, code looks way more elegant now