Remove useless line and correct paddings with const refs.
Remove useless outputs with const variables.