Significant speedup of coordinate calculation..