A conservative particle splitting and merging technique with dynamic pattern and minimum density error. (May 2023)