[F] removed endless loop in Wallbase.search()

needs python math now