build SMALL and REALLY_SMALL