finished for 16 layers