Adjusted tree parameters
Added function splitMoney