removed shape restriction for the compound nodes