Factored out some continue's
Moved vector initialization into static initializers.
Use relevantPiece() call where possible.