latest version of arrayResolution2p.py