implement a constant cache for ints 0 to 16
protect adding new types to int cache with mutex