cube delivery strategy now works
fixed cube detection bug