improve builder - make able to merge with parent if it was define above it