Folding and cutting separeted to block and cover.
Autobracing fixed.
Min cost of some operations fixed.
Tests updated.