from https://github.com/obsidiansystems/dependent-sum/pull/35
from obsidiansystems/dependent-sum#35