Add variables in construct block to gc root