Removed the code that pre-calculated valid placement locations now that valid placement is computed dynamically (due to the need to handle different shapes).