there was a strange insane moment where the junky seemed to be calculating some kind of crazy math , perhaps figuring out how much money he owed against how much money he needed to secure the next fix .