Implement "small ranks" feature into the template