fixed beat length, added BMS Caching