Added handling for negative coordinate sets.