Secure distributed adaptive bin packing algorithm for cloud storage