Add distances