see https://github.com/UniMath/UniMath/issues/362#issuecomment-225556634
see UniMath/UniMath#362 (comment)