truncated sqrt matish problem