A comprehensive model for the electric double layer of stepped platinum electrodes