positions of obstacles can be out of range