Distance space