Boson peak as a consequence of rigidity: A perturbation theory approach