InitModelShape function: v1.1