Using the old plotting algorith again. The new one wil be developed in a new branch.