Optimal functional product quantization | Synapse