Replaced bool occupied[,] with Transform[,]