removed sample weight leaf variable