Moore's law and the sand-heap paradox