Geometric Clustering for Hardware-Efficient Implementation of Chromatic Dispersion Compensation