A greedy approach to identification of piecewise affine models