FIX for #965

This solves discrepancies issues in the decision tree module between 32 and 64 bits architecture.

It solves #965.