Product family optimization: a multiplatform algorithm based on iterative increase of the commonality