Working CompactPool which is identical to FixedPool