corrected lots of errors, and changed everywhere the reshaping filter