Use the getReadDepth instead of meanReadDepth in the main function.
Measured run time difference.