add bound-test; extract layers setting;