added weight in relaxLM and slider3d