not finished
Fixed shape out of bound bug.

Shape that equals the board dimension works fine now.
Merge branch 'spawn_fix'