The diagonal lengths on the energy beams don't seem to be calculated correctly. The maximum length of a beam is 16 horizontally, but if you make a structure like so the resultant beam is much longer. Even disregarding the blocks containing the devices on sides A and B (making the triangle 14x15)...