cleaned up geometry shader