Changed dirSize function/variables from long to double