Consider a continuous random variable $X$ with the compact support $[0,1]$. For given $N\in\mathbb{N}$, we define the weighted sum as $$ S_N=\sum_{i=1}^N a_iU_i, $$ where $U_i$ are i.i.d. random variables uniformly distributed in $[0,1]$ and $a_i$ are free parameters.
My question is how well we can approximate $X$ by $S_N$ in distribution. Furthermore, I note that, in spite of the metric for approximation, the approximation accuracy will increase as $N$ increases since we can let some $a_i=0$. Hence, I also want to know the behavior of the best approximation when $N\to \infty$.