round_len fixed and debug tick added