Added building.splat method and changed code accordingly