introduce a new RoundUpAlignment helper function, use it to