preform weight calculation