cleaning
frounding
unit test calculateminbb