Chomp the output for the layers

references #5