building template for alanine simulation