Increased accumulation time for finding 511 line and removed smothing function.