move height generation from server to shared