Thought experiment on constructing an ideal computer