added maxHeightRange