Move debug config to parent dir
Fix bug in Rarest First Piece Selection which cause divide-by-zero error