add recursive depth to the storage format for future use