On the electrochemical conditions within small pits