threads are inextensible and mass of blocks A