create pieces and blocks