#4493 calculate deps on structure of content