Calculate standard cell height