improve ESM in Kangaroo. Use .f instead of int