cleaing up cell height calculation methods