The steps to create a pile from template