Support for N numa nodes, cache align code