Preparing the pile