fix point containment range problem