MEMS arrays smart design