How I can implement Backfilling algorithm for opennabula? I want to modify backfilling algorithm for opennebula

I am doing research on cloud computing. I need to implement my proposed modified backfilling algorithm for opennebula. So I need suggestion how I can implement it.