Use boost::{begin,end}() over manual calculations