Assuming you have the S4U Stair extension installed (available via the SketchUcation or Extensions Warehouse), fixing the top crack is a streamlined process. While the plugin automatically handles basic cracks, advanced users use specific workflows to force-perfect geometry.
: Generates a staircase with a solid, flat-bottomed slab. s4u stair crack top