in process of fixing bondlength code