Made modified weights abide by the constraints required.