Nanoscopic combination of edge and flat planes in active site for oxygen reduction and evolution