calculating cubic weight for shipping