Changed wave composing to use the cost it was originally designed for