fixing bug in n-subjet calculations