set initCapacity instead of default 16 for performance …

and added option to specify accessOrder