improve wave table