Add explicit type annotatinon to avoid compilation error in v0.4-dev
remove @inbounds