change stl to binary