Cluster code for calculating cyst phantom