a few months ago , the top part of the crane , including the operator 's cabin , had started rocking back and forth when lifting the containers and alfonso had therefore decided to restrict container weights to thirty tons instead of forty .