fixed a bug in point, use less than to prevent infinite loops