inside y min_x max_x outside