Pore Shape Affects Spontaneous Charge Redistribution in Small Pores