magnitude pole and maxsum no two elements are adjacent added