Fix wrong index in array for splitting decision
Fix variables' names begining with upper-case letter