Board Thread:Tutorials/@comment-5961188-20130107011300/@comment-128.208.36.148-20130115205548

break it up into two sections of code: building the floor, then going around the perimiter building the walls.

It looks like you made yourself some sort of "gotozero" function, and called it while building the walls every 2 layers. and you forgot to include the stop-building conditions.