tweak bucket preallocation size; minor bugfixes and memory savers