Revealing the origin and nature of the outskirts of stellar megalopolises