add @inbounds in normal.jl