more sanity checks

exit if we try to place a cell or a part of it out of the chip (like S27.txt)