Determination of ranges of accelerated heavy ions in plastic track detectors