set optimal height too