Capacity Encoder