from type to value array conversion, pos member
improve code layout
add some aliases
header for  pack<>