sh: fix size calculation for NUMA node 0