set auto expanding