The temple is clearly inspired by the styling of the monolithic Dharmaraja shrine , but it is more tapered because originally it had to double as a lighthouse , a bright beacon burning at its apex .
The temple was originally also a lighthouse .