Changed Layer to Brick, that slowed down the code, still testing the distribution