move parseSize to sdr lib