A phenomenological model explaining the observed scales of astrophysical and cosmological structures