Changed flags: depth -> size and started to add tripwires.
Authored by: tswift 2015-10-28
Parent: [r8501]
Child: [r8503]