need to fix truncation on euler