implement get circle array maximum summation in its sub arrays