added support for multiple level dependecies with SMAC import