island packing: replaced the algorithm with a stupid and stable one
island packing: fixes, optimization and comments