An Optimal Multihump Filter for Photometric Redshifts