Optimization of overlap uniformness for ptychography.

Optimization of overlap uniformness for ptychography.