Correctly working implementation of the PaSiMap pipeline