array : trim elements from either end of array such that 2*min > max in
the resultant array