cell: only calculate height once