move lsb2full to common file