First stable script -- got the results

Results are different from previous ones and are a bit strange -- must
check the algorithm!