New conversion method. Accepts any bin. num. lenght