now using cmath in getPosList

abs and fmin/fmax