Improved Authentication Path Computation for Merkle Trees