Impact of intra- and inter-unit cell symmetry breaking on the optical response of the arrays of nanotrimers.