No need for mask arrays for the distances class