A necessary condition on minimal cube numberings