fixed bug with piece generator not setting correct size