Geometric Staircase Corners Double Function