bug fix: change the slice size macro