bit shifts slidesalloc instead of numslides