All elements in a period have the same energy level due to which of the following reasons?