Rectangle formula with randomly shifted knotsстатья