Add path depth field to sample