ioutofbounds made and used in isadjacent and isimpassable