simulator: Check if the stack frame size is a multiple of the stack block size