inside x min_y max_y outside