i found the formula for centered squares | ScratchStats