small cache optimization