reduce memory usage for small collections