port packed layout from python glue

there was a bug in the previous port
check provided layout better
increase version number
fix pod
update changes