Stabilized rounded addition of hierarchical matrices