child vector sizes are now also taken into account