On the Design of Optimal Zoning for Pattern Classification