A fast algorithm to approximate the spectral density of locally tree-like networks with assortativity. (6th March 2023)