refactoring alignment code
V 1.6.4: multi cpus for initial alignment
small edits to make-app script