paramaterize NWayCache on shelf type