doubles stack size and places sp and bp in the center