The reconstruction of helical particles with variable pitch