Minmi's post about order of upgrades for factories is right except that doing it attack first, bot health second, and # of bots last is the cheapest method.
continued...The same instance also occurred when i made a set of 3 and a set of 4 at the same time as well, only this time my health increased by 2 like with any other set of 4 instead of 3 that should be given as 1 for the set of 3 and 2 for the set of four. This glitch could mean a lot of missed heals from matches when combos are going on as well as T and corner matches where multiple sets of gems are being destroyed simultaneously.
There is a glitch where if you have multiple match heals that go off at the same time they don't all heal you. For instance I had 120% chance to heal for matches of 3 and I switched two gems that made two different sets of 3 that each disappeared at the same time but my health only increased by one. I don't mean that I only saw a +1 instead of a +2 because I know it doesn't add together for the animation, I had seen it happen once before and thought the animation just overlapped itself so this time to check I looked at my health prior to switching the gems in the same way mentioned earlier and then noticed my health after to see if it was just the animation overlapping or not.
over 80k miles on 2nd try at finshisneat's orbital level
||R|||-138,154,145,179,46,165,p,0,0,0,1,-137,154,145,245,31,5,p,0,0,0,1,-137,155,145,173,162,224,p,0,0,0,1|-109.2|73.3|39.7|91.35||