prefect cell height calculation