I have recently read that small hive beetles like compost piles. I don't know for certain, but I would say they seek out the soft, warm environment to complete their life cycle. I'm sorry, I don't know where I read that. My hives, in the back yard, are 30 feet from the compost pile. I have kept beetle blasters in all my hives this year. It's so gratifying to see their little corpses floating in the oil.