Add DepthLimiter
and adapt to the Read/WriteXDR
#158
Merged
DepthLimiter
and adapt to the Read/WriteXDR
#158