Initial version of fair and square problem