First commit for buildLayer2
Layer2: bug fixed. Now it works
Layer2: second stage was added, now it's able to fix already inserted sides