Loop-tree implementation of the adaptive integral method (AIM) for numerically stable EM modeling from low to multi-GHz frequencies