accounting for flag change depth -> size
Authored by: tswift 2015-10-28
Parent: [r8499]
Child: [r8501]