refactor partition algorithm
update copyright notices & add crash report email address