Merged small and medium classes