Fixed the errors with possible piece placements