more correct truncation. Temporarily removed threading and interpolation