The code in page 227, the loop signalled with comment 5, it only needs 1 tile to be OK for the prefab to be OK. I don’t know if this is an intended, but once one tile goes through the if, and can_place goes to true, it never goes to back, and it doesnt matter if all the other tiles are wrong.