I am trying to wrap my head around Homomorphic encryption, specifically the HEAAN/CKKS scheme. I am reading through the publication, but I am getting stuck on page 11, namely the KeyGen and Enc functions.
My issue in understanding comes from the generation of the public key: $$ p.k.\leftarrow (b,a) $$ $$ b \leftarrow-as+e(modq_L) $$ $$ q_l = p^l\cdot q_0 $$ where $l$ denotes the multiplicative level, $0<l\leq L$, and $a$ is sampled uniformly from $R_{qL}$. For my question's sake, lets assume that a polynomial coefficient for vector $a$ happens to be $q_L-1$. When encoding a message $m$, which is defined as $$ v \cdot p.k. + (m + e0, e1)(mod q_L) $$
and $e0$/$e1$ being Gaussian errors, isn't it likely that there would be an overflow of the coefficients, causing inaccuracies in the decoded output? Should $a$ be sampled over $q_1$ (the integer modulus of level 1) as opposed to the maximum integer modulus $q_L$?