Use array coordinates for performance