Hours debuggind terrace shape method. :(