The roof of the temple is designed in three sections. The lower one are still according to the polygonal shape of the body and contains small niches with statues of boddhisatvas seated on lotus. Each of this niches is crowned with stupas. The middle part of the roof is in octagonal (eight sided) shape. Each of this eight sides adorned with niches contains statue of a Dhyani Buddha flanked by two standing boddhisatvas. The top part of the roof is almost circular and also have 8 niches crowned with single large dagoba. The octagonal aspect of the structure has led to speculation of non-buddhist elements in the temple, similar to some interpretations of the early Borobudur structure.