Tempo penalty for DP quantization based on acceleration