The block structure:
*********
* ----- *
* | | *
* | | *
* ----- *
*********
Once they are stacked together, the top of the lower block intersects with the bottom of the higher block:
*********
* ----- *
* | | *
* | | *
* ----- *
***********
* ----- *
* | | *
* | | *
* ----- *
*********
The roof that should be stacked on top of the last, n-th block is:
*
***
** **
** **
The block with the roof atop looks like this:
*
***
** **
** **
*********
* ----- *
* | | *
* | | *
* ----- *
*********
##Test cases below.