modal function becomes n-truncated function (closing #245)